from ... import openapi

EveryTick = [0, 1]
EvertRandomTick = []


def randtip0():
    global getxyMD5
    getxyMD5 = openapi.request(openapi.WCREQ_PLAYER_INFORMATION_GET)
    openapi.waituntil(getxyMD5, randtip1)


def randtip1():
    pos = openapi.get_answer(getxyMD5)
    pos = (pos["x"], pos["y"])
